package com.onlyxiahui.common.action.description.handler;

import com.onlyxiahui.common.action.description.DocumentContext;

/**
 * Description <br>
 * Date 2020-01-08 08:44:23<br>
 * 
 * @author XiaHui [onlovexiahui@qq.com]<br>
 * @since 1.0.0
 */

public interface ModuleTitleHandler {

	/**
	 * 
	 * Description <br>
	 * Date 2020-01-09 17:42:25<br>
	 * 
	 * @param context
	 * @param classType
	 * @param text
	 * @return
	 * @since 1.0.0
	 */
	public boolean support(DocumentContext context, Class<?> classType, String text);

	/**
	 * 
	 * Description <br>
	 * Date 2020-01-09 17:42:28<br>
	 * 
	 * @param context
	 * @param classType
	 * @param text
	 * @return
	 * @since 1.0.0
	 */
	public String handle(DocumentContext context, Class<?> classType, String text);
}
